infix (cont), infix ∋»

Documentation for infix (cont), infix ∋» assembled from the following types:

language documentation Operators

From Operators

(Operators) infix (cont), infix ∋»

multi sub infix:<(cont)>($a,$b --> Bool:D)
multi sub infix:<∋>($a,$b --> Bool:D)

Membership operator.

Returns True if $a is an element of $b.

say (1,2,3) (cont) 2; # OUTPUT: «True␤» 
say (1, 2, 3) ∋ 4; # OUTPUT: «False␤» 

∋ is equivalent to (cont), at codepoint U+220B (CONTAINS AS MEMBER).